﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Security;

namespace AnyRepMembershipProvider
{
    public interface IAnyRepMembershipRepository
    {
        string ApplicationName { get; set; }

        void AddUser(AnyRepMembershipUser user);

        AnyRepMembershipUser GetUserById(Guid userId);
        AnyRepMembershipUser GetUserByUsername(string userName);
        AnyRepMembershipUser GetUserByEmail(string email);

        void UpdateUserLastActivity(AnyRepMembershipUser user);
    }
}
